<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of con_plan_cuenta
 *
 * @author Luisao
 */
class Con_subcuenta extends CI_Model {
    
    function __construct()
    {
        // Call the Model constructor
        parent::__construct();
    }
    
    function get_subcuentas($id_empresa_contab)
    {
        $this->db->select();
        $this->db->where('id_empresa_contab',$id_empresa_contab);
        $this->db->from('con_subcuenta');
        $query = $this->db->get();        
        return $query;
    }   
    
}